working with a notebook